package com.bumblebee.server.model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 
 * @author Dinesh
 *
 */
@Entity
public class UserRole extends AbstractEntity{

	@Column(nullable = false)
	private String roleName;
	
	@Column(nullable = false)
	private Integer code;
	
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}


	
	
}
